package org.client.iot.ui.device;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import org.client.iot.R;
import org.client.iot.databinding.ActivityMeasurePointBinding;
import org.tzw.template.base.BaseActivity;

public class MeasurePointActivity extends BaseActivity<ActivityMeasurePointBinding> {

    @Override
    protected void initData() {

    }

    @Override
    protected void initView() {
        setSupportActionBar(mRoot.toolbarMeasurePoint.toolbarPageHead);
        mRoot.toolbarMeasurePoint.textViewTitle.setText(getString(R.string.measure_point_toolbar_title));
    }

    @Override
    protected void initListener() {
        mRoot.btnAddPoint.setOnClickListener(v -> {
            redirectToActivity(MeasurePointAddActivity.class);
        });
        mRoot.toolbarMeasurePoint.imgBack.setOnClickListener(v -> {
            finish();
        });
    }
}